/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package trafficsim;



/**
 *
 * @author Ecca
 */
public class Model {

    private int horLaneNum;
    private int verLaneNum;
    private int gridSize;


    /**
     * constructor for the grid
     */
    public Model() {
        init();
    }

    private void init() {
        horLaneNum = 1;
        verLaneNum = 1;
        gridSize = 23;


    }

    /**
     *
     * @return returns the gridSize
     */
    public int getGridSize() {
        return gridSize;
    }

    /**
     *
     * @param gridSize sets the gridSize
     */
    public void setGridSize(int gridSize) {
        this.gridSize = gridSize;
    }

    /**
     *
     * @return gets the number of horizontal lanes
     */
    public int gethLanes() {
        return horLaneNum;
    }

    /**
     *
     * @param hLanes sets the number of horizontal lanes
     */
    public void sethLanes(int hLanes) {
        this.horLaneNum = hLanes;
    }

    /**
     *
     * @return gets the number of vertical lanes
     */
    public int getvLanes() {
        return verLaneNum;
    }

    /**
     *
     * @param hLanes sets the number of vertical lanes
     */
    public void setvLanes(int hLanes) {
        this.verLaneNum = hLanes;
    }
}
